package com.zpy.playground.redisTest.lettuceConfig;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "spring.redis.standalone-mode.myself")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RedisStandAloneConfiguration {
    private Integer database;
    private String host;
    private Integer port;
    private String password;
    private Lettuce lettuce;
    private Integer timeout;
}
